// .vitepress/theme/index.js
import Layout from './extendLayout.vue'
import DefaultTheme from 'vitepress/theme'
import './custom.css'
export default {
	//...DefaultTheme,
    Layout,
    // root component to wrap each page
    // this is a Vue 3 functional component
    NotFound: () => 'custom 404',

    enhanceApp({
        app,
        router,
        siteData
    }) {
        // app is the Vue 3 app instance from `createApp()`.
        // router is VitePress' custom router. `siteData` is
        // a `ref` of current site-level metadata.
    },

    setup() {
        // this function will be executed inside VitePressApp's
        // setup hook. all composition APIs are available here.
    }
}
